package cn.tedu.coolshark.mapper;

import cn.tedu.coolshark.pojo.entity.Category;

import java.util.List;

/**
 * @author liyang
 * @version 1.0
 * @package cn.tedu.coolshark.mapper
 * @file CategoryMapper.java
 * @description
 * @time 2024/8/6 下午11:52
 */
public interface CategoryMapper {
    List<Category> select();

    void deleteById(int id);

    void insert(String name);

    void update(Category category);
}
